﻿package cdio1;

import java.util.Random;
public class Terning {

	int faceValue;

	public Terning(){
		
	}

	public void rul(){
		Random rand = new Random();
		faceValue = rand.nextInt(6)+1;
	}

	public int getValue(){
		return faceValue;
	}
}
